Grok 4.20 vs Claude Sonnet 4.6

xAI Grok 4.20Anthropic Claude Claude Sonnet 4.6
VendorxAIAnthropic Claude
Context window2,000,0001,000,000
Max output2,000,000128,000
ReasoningYesYes
Tool callingYesYes
File inputYesYes
Inputtext, imagetext, image, file
Outputtexttext
Released2026-03-092026-02-17